export interface ModelList {
  currentPage: number | string;
  pageSize: number | string;
}

export interface ModelInfo {
  id?: string | number;
  name: string; // 昵称
  userName: string; // 账号
  password?: any; // 密码
  roleIds: string[]; // 角色id
  enabled: boolean; // 状态
  orgId?: number | undefined;
  orgIds?: number[] | undefined;
  [key: string]: any;
}

export interface ModelEnable {
  userId: number | string;
  enabled: boolean;
}

export interface ModelUserId {
  id?: string | number;
  password?: string | undefined;
}

export interface ModelUserPower {
  id?: string | number;
  dataScope?: string | number;
  targetUserIds?: number[];
}

export interface ModelUserPassword {
  oldPassword: string;
  newPassword: string;
  confirmPassword: string;
}
